from django.db import models

# Create your models here.
from common.common_models import CommonInfo


class Project(CommonInfo):
    class Meta:
        verbose_name = "项目信息"
        db_table = "project"

    name = models.CharField("项目名称", unique=True, null=False, max_length=30)
    description = models.CharField("说明", null=False, blank=True, max_length=255)
    ding_ding_talk_url = models.CharField("钉钉链接地址", blank=True, null=True, max_length=255)
    ding_ding_autograph = models.CharField("钉钉链接密钥", blank=True, null=True, max_length=255)
